﻿using System.Windows;
using System.Windows.Controls;
using DictationToolSilverlight.ViewModel;

namespace DictationToolSilverlight.View
{
    public partial class DictationView : UserControl
    {
        public DictationView()
        {
            InitializeComponent();

            this.Loaded += new RoutedEventHandler(DictationView_Loaded);
        }

        void DictationView_Loaded(object sender, RoutedEventArgs e)
        {
            (this.DataContext as DictationViewModel).ComparedText = richtext;
        }
    }
}
